//
//  CollectionHandle.h
//  DailyNews
//
//  Created by 于跃隆 on 2018/12/21.
//  Copyright © 2018年 于跃隆. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "FMDataBase.h"
#import "HttpHandle.h"

NS_ASSUME_NONNULL_BEGIN

@interface CollectionHandle : NSObject
//单例
+(instancetype)sharedDBManager;

//增
-(void)insertModel:(id)httpModel;
//删除
-(void)deleteModelByName:(NSString *)name;
//修改
-(void)updateModel:(HttpHandle *)httpModel;
//查询
-(NSMutableArray *)fetchAll;

@end

NS_ASSUME_NONNULL_END
